package com.ddm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ddm.entity.BaseLevel;
import com.ddm.entity.Level1;
import com.ddm.entity.LevelEntity;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * <p>
 * 一级指标表 Mapper 接口
 * </p>
 *
 * @author 丁丁猫
 * @since 2025-01-13
 */
@Mapper
public interface LevelMapper {
    @Select("SELECT * FROM level${level} WHERE id = #{id} AND standard_id = #{standardId}")
    LevelEntity selectByParams(@Param("id") Long id, @Param("level") Integer level, @Param("standardId") Long standardId);
}
